var app = new Vue({
    el: '#app',
    data: {
        ruleForm: {
            id: '',
            code: '',
            headImg: '',
            userCode: '',
            score: '',
            staffType: '',
            companyCode: '',
            name: '',
            phone: '',
            recommendedMan: '',
            amount: '',
            doorImg: '',
            companyName: '',
            businessLicenseImg: '',
            identificationImg: '',
            businessLicenseImgNo: '',
            shuiNo: '',
            shuiPoint: '',
            shipperType: '',
            authStatus: '',
            isReviewDriver: '',
            bond: '',
            bondFreezeAmount: '',
            isIndependentCheckout: '',
            payAccount: '',
            createTime: '',
            authTime: '',
            isReleaseCheck: '',
            isMonthlyClient: '',
            isContractualShipment: ''
        }
    },
    methods: {},
    mounted: function () {
        var sysUser = JSON.parse($("#sysUser").val());
        console.log(sysUser);
        this.ruleForm.id=sysUser.id;
        this.ruleForm.code=sysUser.code;
        this.ruleForm.headImg=sysUser.headImg;
        this.ruleForm.userCode=sysUser.userCode;
        this.ruleForm.score=sysUser.score;
        this.ruleForm.staffType=sysUser.staffType;
        this.ruleForm.companyCode=sysUser.companyCode;
        this.ruleForm.name=sysUser.name;
        this.ruleForm.phone=sysUser.phone;
        this.ruleForm.recommendedMan=sysUser.recommendedMan;
        this.ruleForm.amount=sysUser.amount;
        this.ruleForm.doorImg=sysUser.doorImg;
        this.ruleForm.companyName=sysUser.companyName;
        this.ruleForm.businessLicenseImg=sysUser.businessLicenseImg;
        this.ruleForm.identificationImg=sysUser.identificationImg;
        this.ruleForm.businessLicenseImgNo=sysUser.businessLicenseImgNo;
        this.ruleForm.shuiNo=sysUser.shuiNo;
        this.ruleForm.shuiPoint=sysUser.shuiPoint;
        this.ruleForm.shipperType=sysUser.shipperType;
        this.ruleForm.authStatus=sysUser.authStatus;
        this.ruleForm.isReviewDriver=sysUser.isReviewDriver;
        this.ruleForm.bond=sysUser.bond;
        this.ruleForm.bondFreezeAmount=sysUser.bondFreezeAmount;
        this.ruleForm.isIndependentCheckout=sysUser.isIndependentCheckout;
        this.ruleForm.payAccount=sysUser.payAccount;
        this.ruleForm.createTime=sysUser.createTime;
        this.ruleForm.authTime=sysUser.authTime;
        this.ruleForm.isReleaseCheck=sysUser.isReleaseCheck;
        this.ruleForm.isMonthlyClient=sysUser.isMonthlyClient;
        this.ruleForm.isContractualShipment=sysUser.isContractualShipment;
    }
});
